package Day2025_04_17;

import java.util.Scanner;

public class Demo01 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        int[] arr = new int[n];
        int i = 1, j = 0;
        while (j < n) {
            if (j >= n) break;
            arr[j] = i;
            i++;
            j += 2;
        }
        j = 1;
        while (j < n) {
            arr[j] = i;
            i++;
            j += 2;
        }
        for (int k = 0; k < n; k++) {
            System.out.print(arr[k] + " ");
        }
    }
}
